package com.wfcm.dao;

import java.util.List;
import java.util.Map;

import com.wfcm.entity.WfCourseInfoEntity;
import org.apache.ibatis.annotations.Param;

/**
 * 课程信息
 * 
 * @author xlf
 * @email xlfbe696@gmail.com
 * @date 2018-01-22 19:07:11
 */
public interface WfCourseInfoDao extends BaseDao<WfCourseInfoEntity> {
	
	List<WfCourseInfoEntity> querySearchList(Map<String, Object> map);
	
	List<WfCourseInfoEntity> queryCategoryList(Map<String, Object> map);

	WfCourseInfoEntity querySimpleObject(Integer id);
	
	WfCourseInfoEntity queryObjectById(Integer id);

	WfCourseInfoEntity queryObjectIgnoreStatus(Integer id);

	List<WfCourseInfoEntity> recommend();

	String queryCourseLabel(@Param("type") Integer type, @Param("foreignId") Integer foreignId);
}
